package anna.lopez.mora;



import android.os.PowerManager;
import android.util.DisplayMetrics;


public class GV {
	public static class Screen {
		public static DisplayMetrics metrics;
		public static PowerManager.WakeLock wl;
		public static int Orientation;
	}
	public static class Instancies {
		public static Gameview gameview;
		public static Background background;
		public static Gameone gameone;
		public static Gamejump gamejump;
		public static Jumpview jumpview;
		public static Gameoverview gameoverview;
		public static Gameover gameover;
		public static Principal principal;
	}
	public static class posiplataforma {
		public static float posy;
		public static boolean modplataforma;
		public static boolean parats;
		public static int idplat;
	}
	public static class puntuacio {
		public static int vides;
		public static boolean mort;
		public static int contador;
	}
	
	public static float widthpc(float pc) {
		return Screen.metrics.widthPixels*pc;
	}
	public static float heightpc(float pc) {
		return Screen.metrics.heightPixels*pc;
	}
}
